package com.he.adaptermodel;

import com.he.adaptermodel.adapter.Translater;
import com.he.adaptermodel.target.Player;
import com.he.adaptermodel.target.concreterarget.Forward;

public class Client {
    public static void main(String[] args) {
        Player player = new Forward();
        player.setName("zs");
        player.attack();
        Player player1 = new Translater("姚明");
        player1.defend();
    }
}
